package com.changgou.fegin;


import com.changgou.pojo.TbSkuEntity;
import com.changgou.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

@FeignClient(value = "changgou-service-goods")
@RequestMapping("/sku")
public interface SkuFegin {
    @GetMapping(value = "/getAll" )
    List<TbSkuEntity> getAll(@RequestParam Map map);
}
